Relativity BEARS FUTURES 50X 4H AlgorithmHi,
This system is prepared only for leveraged markets and for Futures and CFD markets.
Leveraged processing apply to cryptocurrency contracts that are also subject to.
 System parameters: 
Timeframe = 4H (4 Hours)
Leverage = 50X
 Position Size = %1 (0.01) Each Trade 
Market Direction : Short
 System features : 
- It targets the Risk /Reward Ratio of 1/3 and above. (Risk/Reward Ratio >= 3 )
- If a Take Profit Point has come in a successful trade but the parameter conformity has not deteriorated, system continues the trade.
- In this way, you can catch strong long trends several times a year.
But it is strict as stop-loss and avoids large declines,whipsaws whenever possible.
- The system tries to avoid unnecessary processes as much as possible.
This means less commission and less sideways market.
- Since it takes advantage of the reverse market, it is suitable not only for long and short but only  for short position, ie "bears". 
But this neutralizes unnecessary processes.
- Stop-Loss points and Snow-take points are shown in red and green.
-However, if there is a small amount of follow-up available at the computer, it is recommended to put stop-loss only.
Because the system revises both stop-loss and take profit points according to the conditions formed.
Doing this in the right major long trend here allows you to be in trades.
-The system takes into account the risk and only opens transactions where the value corresponding to 10 leverage ratio is greater than the risk.
This provides as much protection from risk as possible.
-Alerts added.
 About Backtest : 
Since this system uses leveraged market, backtest results are not healthy.
But since it targets the 1/3 Risk Reward Rate (3.00),
we must look Ratio Avg Win/Loss and it must be over 0.5 because :
This ratio means: When we reach 33% of our correct trades in all our trades, we are at breakeven.
This is 100 - 33 = 66
33/66 = 0.5 (Ratio Avg. Win / Avg Loss )
So whenever this rate is over 0.5, we make a profit.
*** The fact that this ratio is over 0.70-1.00 in terms of securing ourselves because there is a maturity in the future indicates that we are doing
successful snowball trades.(Because future contracts have loss of maturity and end dates)
And we achieve success cumulatively.
Important Note : This system is prepared only for these parameters.
These parameters are designed for Futures and CFDs.
 It doesn't work in spot markets and Forex Markets. 
 NOTE : 
The system has been prepared as a strategy to present success in a transparent manner.
Please check  "Ratio Avg . Win / Avg Loss"  rates in backtests.(Especially preferred financial instruments what you trade generally)
 Important Note 2 - 
Although the system revises the stop and take profit points in the required parameters, the most accurate place is when the signal comes.
It should be entered when the signal comes as much as possible and if this did not happen,
trade must be opened in the nearest bars after the signal comes.
 If the position is not closed, renew your position in the new month by observing the maturity conditions. 
 Here you should pay attention to the maturity, the cost of transportation.
Because the more time to maturity, the more advantageous it will be. 
Best regards.
Search in scripts for "stop loss"
MARUSIA TRADING STRATEGIES [VCRYPTO]Description of MARUSIA TRADING STRATEGIES  
«MARUSIA» is a compilation of several strategies.
You may choose the one which best suits your trading habit from options menu.
The strategies are based on indicator’s and bar’s closing level analysis on different timeframes. 
At the time being there are 3 types of strategies for BTC on 1H and 3H tf.
 +++ BTC 1H 90% Success +++ (Beginner) 
Instrument - BTC, timeframe – 1H, exchange – Bitmex.
The advantage of the strategy is a high quantity of profitable trades (90% at the time of publishing).
The Trading View backtest results from 2019: 
+ 303% net profit
+ 90% profitable trades
+ 6% drawback
 +++ BTC 1H Mega Scalper +++ (Intermediate) 
Instrument - BTC, timeframe – 1H, exchange – Bitmex.
The advantage of the strategy is more frequent trades with a good probability of success. 
The Trading View backtest results from 2019: 
+ 792% net profit
+ 64% profitable trades
+ 5% drawback
 +++ BTC 3H Mega Scalper +++ (Expert) 
Instrument - BTC, timeframe – 3H, exchange – Bitmex.
The advantage of the strategy is more frequent trades with a good probability of success. 
The Trading View backtest results from 2018: 
+ 1637% net profit
+ 79% profitable trades
+ 4,4% drawback
 
HOW TO USE 
1.	Choose the strategy from the strategy’s option menu on the chart. Pay attention to the instrument and timeframe you are using the selected strategy for.
2.	Wait until you see green (above bar) or orange (below bar) label. To receive an alert when these labels (or signals) appear on the chart use  ALERT INDICATOR  for this strategy. 
3.	On the opening of the next bar enter the position if the label on the previous bar hasn’t disappeared. Green – for Buy, orange – for Sell. In this case you will see Buy/Sell signal on the chart.
4.	Putting TRAILING STOPS
4.1.	You should put a trailing stop when the price moves to profit up or down for 1% from your entry. For example, if you are long at 7255 USD and price moves up to 7328 USD (7255*1.01), put trailing stop with a trailing value 0,4% of your entry price, which is 29 USD (7255*0.004). 
4.2.	Every time when there is a long or short position, you may see a green info label with entry price, trail stop activation level and trail value. You may use this information instead of making a calculation by yourself. Only if your entry is the same as in the label.
5.	Position closing maybe by reaching your trailing stop (in this case you may reenter the position on the next bar, if there is a signal label as per step 2 on the bar where your trailing stop is triggered) or when there is a signal for opposite direction.
6.	If the signals appear differently than described as above, just refresh the website of Trading View. This happens because mostly take profits are shown only after the current bar is closed.
•	The Buy/Sell signal label may move up or down on the bar with price’s movement. Don’t worry it doesn’t mean that your entry is changing.
•	The lines on the chart are weekly price levels – the price levels of the previous week –
Green – open, Red – close, Blue – high, Brown – low, Black – hl2 (average of high and low). You may use them as support and resistance levels.
 *** 
+ Trading View backtest results 
+No repaint
+ Several strategies to choose which suits your trading habit
+Free testing 
+Support with a call
Pm to get access to the strategy.
____________________________________________________________________________
 Описание к стратегии "MARUSIA TRADING STRATEGIES  " 
Сборник нескольких стратегий серии "Marusia"
Выбор конкретной стратегии осуществляется из удобного меню
Основа наших стратегий - совмещение индикаторного анализа и анализа уровня закрытия свечей на разных временных интервалах (анализ уровней).
 +++ BTC 1H 90% Success +++ (Beginner) 
Стратегия работает на инструменте Bitcoin (BTC) по котировкам биржи BITMEX на 1 часовом таймфрейме (1H).
Основное преимущество данной стратегии - супервысокая успешность сделок (более 90% на момент публикации).
Данная стратегия представляет собой гибрид среднесрочных стратегий по частоте сделок (с 2019 по 12.04.2020 - 204 сделки, в среднем одна сделка раз в 2 дня) и элемент высокочастотных (скальп) стратегий - необходимо выставление использование скользящего стоп-приказа (trailing stop-loss), расчетные данные по которому появляются прямо на экране при открытии сделки.
Статистика по данной стратегии, подтвержденная бэктестом в Trading View
С 2019 года до момента публикации стратегии бектест показывает следующие данные:
+ 303% чистой прибыли
+ 90% успешных сделок
+ 6% макс. единовременная просадка
 +++ BTC 1H Mega Scalper +++ (Intermediate) 
Стратегия работает на инструменте Bitcoin (BTC) по котировкам биржи BITMEX на 1 часовом таймфрейме (1H)
Основное преимущество данной стратегии - высокочастотные сделки с хорошей вероятностью успеха.
С 2019 года до момента публикации стратегии бектест Trading View показывает следующие данные:
+ 792% чистой прибыли
+ 64% успешных сделок
+ 5% макс. единовременная просадка
 +++ BTC 3H Mega Scalper +++ (Expert) 
Стратегия работает на инструменте Bitcoin (BTC) по котировкам биржи BITMEX на 3 часовом таймфрейме (3H)
Основное преимущество данной стратегии - высокочастотные сделки с хорошей вероятностью успеха 
С 2019 года до момента публикации стратегии бектест Trading View показывает следующие данные:
+ 1637% чистой прибыли
+ 79% успешных сделок
+ 4,4% макс. единовременная просадка
***
 Инструкиция по использованию: 
1. Вы открываете график с включенной стратегией. Обратите внимание на инструмент и таймфрейм стратегии. 
2. Ожидаете появления на графике зеленого (снизу) или оранжевого (сверху) флажка.
Для получения уведомления появления значков (сигналов) используйте  АЛЕРТНЫЙ ИНДИКАТОР  для данной стратегии. 
3. На открытии следующей свечи входите в сделку, если флажек из п.2 остался и не пропал (зеленый флажек - покупка, оранжевый - продажа)
4. Выставление trailing stop-loss
4.1 Trailing stop-loss выставляется, когда цена прошла 1% в профит от цены выхода в сделку (например: покупка 7255 и когда цена будет 7328 (7255*1,01) выставляется плавающий стоп-лосс (trailing stop-loss) в размере 0,4% от цены входа "29" (7255*0,004).
4.2. Как только будет закрыта свеча, на которой Вы вошли в сделку - вы увидете значения из п.4.1 на экране рядом с графиком (вы можете их использовать без самостоятельного расчета, но тогда есть риск, что если цена на свече входа достигнет значения из п. 4.1 - то сделка закроется, а вы это увидите только на следующей свече, когда значение цены может быть менее выгодное)
5. Выход из сделки осуществляется либо по trailing stop-loss (тогда вы можете перезайти в сделку на открытии следующей свечи, если на свече, на которой произошло закрытие по trailing stop-loss появились флажки из п.2), либо по появлению противоположного флажка, тогда вход в сделку, в соответствии с п. 2 и 3    
7. Если Вы увидели, что сигналы отличаются от написанного в данной инструкции - просто обновите страницу с Trading View в браузере и все встанет на свои места.
* На свече захода в сделку сигнал "buy/sell" может "плавать" по свече, но если Вы выполнили п.1-3 Вам неочем беспокоиться. Не обращайте на него внимание.
 *** 
Основные отличия от стратегий наших коллег:
+ Результаты бэктеста в платформе Trading View – прозрачная статистика по сделкам, которую вы можете посмотреть самостоятельно
+ Построен на принципах non-repaint basis – сигналы не исчезают (при правильном соблюдении инструкции по использованию)
+ Каждая стратегия серии   построена на своем уникальном принципе - вы можете выбрать для себя оптимальный набор стратегий
+ Бесплатный тестовый период 
+ Поддержка с возможностью организации телефонного звонка
 
Для предоставления доступа к данной стратегии - пожалуйста пишите в личные сообщения. Мы быстро с Вами свяжемся.  
Cyatophilum Intraday Breakouts [BACKTEST]Private indicator. Access can be unlocked by purchasing a subscription on my website which link is in my profile signature. 
Here is the backtest version of the Triple Screen Strategy
Recap of the strategy:
The goal of this indicator is to be able to automate and backtest the strategy, all while staying on a single chart and without repainting.
Features:
 
 Market Tide MACD configuration
 Market Wave choice between 3 oscillator: Elder Force Index, Stochastic and William Percent Range
 Automated Long and Short entries alerts
 Integrated Trailing Stop Loss system fully configurable with automated exit alerts
 Integrated Trailing Take profit system fully configurable with automated exit alerts
 
 Indicator samples 
 Backtest 
Strategy time period can be choosen in the parameters of the indicator.
Be aware that the chart is limited to 10 000 candles of the current timeframe for the backtest calculation.
Default initial capital: 10 000$
Default order size: 100% of equity
Default commission fees: 0.1% per transaction
Backtest results below. 
 Alerts 
Entry Long: Triggers on green long labels.
Take Profit Long: Triggers on the "TAKE PROFIT" green flag if the long target is reached.
Stop Loss Long: Triggers on the "STOP LOSS" or "TSSL" label if the stop loss line has been crossed.
Exit Long: Triggers on either of Take Profit Long or Stop loss long.
Entry Short: Triggers on red short labels.
Take Profit Short: Triggers on the "TAKE PROFIT" green flag if the short target is reached.
Stop Loss Short: Triggers on the "STOP LOSS" or "TSSL" label if the stop loss line has been crossed.
Exit Short: Triggers on either of Take Profit Short or Stop Loss Short.
 You can get access to this indicator by purchasing a subscription using the link below. 
Thanks for reading!
2-Period RSI strategy (with filter)2-period RSI strategy backtest described in several books of the trader Larry Connors . This strategy uses a 2 periods RSI , one slow arithmetic moving average and one fast arithmetic moving average. 
 Entry signal:  
- RSI 2 value below oversold level (Larry Connors usually sets oversold to be below 5, but other authors prefer to work below 10 due to the higher number of signals). 
- Closing above the slow average (200 periods). 
- Entry at closing of candle or opening of next candle. 
 Exit signal:  
- Occurs when the candlestick closes above the fast average (the most common fast average is 5 periods, but some traders also suggest the 10 period average). 
 Entry Filter (modification made by me):  
- Applied an RSI2 arithmetic moving average to smooth out oscillations. 
- Entered only when RSI2 is below oversold level and RSI2 moving average is below 30. 
* NOTE: In the stocks that I evaluate daily the averages of 4 and 6 periods work very well as a filter. 
 Comments:  
This strategy works very well in Daily charts but can be applied in other chart times as well. As this is a strategy to catch market fluctuations, it presents different results with different stocks. 
I have been applying this strategy to the stocks of the Brazilian market (BOVESPA) and have enjoyed the result. Every day I evaluate the stocks that are generating entry signals and choose which one to trade based on the stocks with the highest Profit Value. 
The RSI 2 averaging filter probably will reduce profit of the backtests because reduces the number of signals, but the Profit Value will usually increase. For me this was a good thing because without the filter, this strategy usually shows more signals than I have capital to allocate. 
Before entering a trade I look at which fast average the paper has the highest Profit Value and then I use this average as my output signal for that trade (this change has greatly improved the result of the outputs). 
This strategy does not use Stop Loss because normally Stop Loss decreases effectiveness (profit). In any case, the option to apply a percentage Stop Loss if desired is added in the script. As the strategy does not use stop, extra caution with risk management is advisable. I advise not to allocate more than 20% of the trade capital in the same operation. 
 I'm still studying ways to improve this strategy, but so far this is the best setup I've found. Suggestions are always welcome and we can test to see if they improve the backtest result. 
Good luck and good trades.  
================================================ 
Backtest das estratégia do IFR de 2 períodos descrita em varios livros do trader Larry Connors . Esta estratégia usa um IFR de 2 períodos, uma média movel aritmética lenta e uma média movel aritmética rápida. 
 Sinal de entrada:  
- Valor do IFR 2 abaixo do nível de sobrevenda (Larry Connors usualmente define sobrevenda sendo abaixo de 5, mas outros autores preferem trabalhar abaixo de 10 devido ao maior número de sinais). 
- Fechamento acima da média lenta (200 períodos). 
- Realizado a compra no fechamento do candle ou na abertura do candle seguinte. 
 Sinal de saída:  
- Ocorre quando o candle fecha acima da média rápida (a média rápida mais comum é a de 5 períodos, mas alguns traders sugerem também a média de 10 períodos). 
 Filtro para entrada (modificação feita por mim):  
- Aplicado uma média móvel aritmética do IFR2 para suavisar as oscilações. 
- Realizado a entrada apenas quando o IFR2 está abaixo do nível de sobrevenda e a média móvel do IFR2 está abaixo de 30. 
*OBS: nos ativos que avalio diariamente as médias de 4 e 6 períodos funcionam muito bem como filtro. 
 Comentários:  
Esta estratégia funciona muito bem no tempo gráfico Diário mas pode ser aplicada tambem em outros tempos gráficos. Como trata-se de uma estratégia para pegar oscilações do mercado, ela apresenta diferentes resultados com diferentes ativos. 
Eu venho aplicando esta estratégia nos ativos do mercado brasileiro (BOVESPA) e tenho gostado do resultado. Diariamente eu avalio os papeis que estão gerando entrada e escolho qual irei realizar o trade baseado nos papeis que apresentam maior Profit Value. 
O filtro da média do IFR 2 reduz o lucro nos backtests pois reduz também a quantidade de sinais, mas em compensação o Profit Value irá normalmente aumentar. Para mim isto foi algo positivo pois, sem o filtro, normalmente esta estratégia apresenta mais sinais do que possuo capital para alocar. 
Antes de entrar em um trade eu olho em qual média rápida o papel apresenta maior Profit Value e então eu utilizo está média como meu sinal de saída para aquele trade (esta mudança tem melhorado bastante o resultado das saídas). 
Está estratégia não utiliza Stop Loss pois normalmente o Stop Loss diminui a eficácia (lucro). De qualquer maneira, foi acrescentado no script a opção de aplicar um Stop Loss percentual caso seja desejado. Como a estratégia não utiliza stop é aconselhável um cuidado redobrado com o gerenciamento de risco. Eu aconselho não alocar mais de 20% do capital de trade em uma mesma operação. 
 Ainda estou estudando formas de melhorar esta estratégia, mas até o momento está é a melhor configuração que encontrei. Sugestões são sempre bem vindas e podemos testar para verificar se melhoram o resultado do backtest. 
Boa sorte e bons trades.
Cyatophilum Bands Pro Trader V3 [BACKTEST]An Original Automated Strategy that can be used for Manual or Bot Trading, on any timeframe and market. 
 >> Presentation << 
 How it works 
No, these are NOT Bollinger Bands..
The Cyatophilum Bands are an original formula that I created. You will probably never find it anywhere else.
Their behavior is the following:
 When they are horizontal it means the trend is going sideways and they represent supports (lower band) and resistances (upper band).
 When they are climbing or falling it means the trend is either bullish or bearish and they represent Trend Lines.
The strategy enters Long on a Bull Breakout and enters Short on a Bear Breakout.
The exits are triggered either on a Trend Reversal, a Stop Loss or a Take Profit.
 FEATURES 
Take Profit System
Stop Loss System
Show Net profit Line
 More features here 
 Finding a profitable configuration is GUARANTEED 
 0.  Choose your symbol and timeframe. Then add the Backtest version to your chart. If at any time you decide to change your timeframe, go back to step 1.
 1.  Open the strategy tester and look at the buy & hold line.
 If it is mostly climbing (last value greater than 0) then it means we are in a bull market. You should then opt or a long only strategy.
 If it is mostly dropping (last value lower than 0) then it means we are in a bear market. You should then opt or a short only strategy.
 Note : This first step is really important. Trading against the market has very little chances to succeed.
 2.  Go into the Strategy Input Parameters:
 check "Enable Long Results" and uncheck "Enable Short Results" if you are in a long only strategy.
 check "Enable Short Results" and uncheck "Enable Long Results" if you are in a short only strategy.
 3.  Open the Strategy Tester and open the Strategy Properties.
 We are going to find the base parameters for the Bands.
 The "Bands Lookback" is the main parameter to configure for any strategy. It corresponds to how strong of a support and resistance the bands will behave. The lower the timeframe, the higher lookback you will need. It can move from 10 to 60. For example 60 is a good value for a 3 minute timeframe. Try different values, and look at the "net profit" value in the Overview tab of the Strategy Tester. Keep the Lookback value that shows the best net profit value.
 Then play with the "Bands Smoothing" from 2 to 20 and keep the best net profit value.
 The "Band Smoothing" is used to reduce noise.
 Usually, the default value (10) is what gives the best results.
 From this point you should already be able to have a profitable strategy (net profit>0), but we can improve it using the Stop Loss and the Take Profit feature.
 4.  To activate the Stop Loss feature, click on the "SECURITY" checkbox
 You should see horizontal red lines appear.
 A Long/short exit alert will be triggered if the price were to cross this line. (A red Xcross will appear)
 Choose the Stop Loss percentage.
 On top of that, you can enable the feature "Trailing Stop". It will make the red line follow the price, at a speed that you can configure with the "Trailing Speed" parameter.
 Now, sometimes a stop is triggered and it was just a fakeout. You can enable "Re-entries after a stop" to avoid missing additional opportunities.
 5.  To activate the Take Profit feature, click on the "TAKE PROFIT" checkbox
 You should see horizontal green lines appear.
 A Long/short exit alert will be triggered if the price were to cross this line. (A flag will appear)
 Choose the Take Profit percentage.
 A low takeprofit will provide a safer strategy but can reduce potential profits.
 A higher takeprofit will increase risk but can provide higher potential profits.
 6.  Money Management
 You can configure the backtest according to your own money management.
 Let's say you have 10 000 $ as initial capital and want to trade only 5%, set the Order Size to 5% of Equity.
 You can increase net profit by increasing the order size but this is at your own risk.
 How to create alerts explained here 
 Sample Uses Cases 
 Use it literally anywhere  
This indicator can be used on any timeframe and market (not only cryptocurrencies). 
 About the Backtest below 
The Net Profit (Gross profit - Gross loss) is calculated with a commission of 0.05% on each order. 
No leverage used. This is a long strategy.
Each trade is made with 10 % of equity from an inital capital of 10 000$. The net profit can be bigger by increasing the % of equity but this a trader's rule to minimise the risk. 
 I am selling access to all my indicators on my website  : blockchainfiesta.com
 To get a 2 days free trial, just leave a comment , thanks !
Join my Discord for help, configurations, requests, etc. discord.gg
Trend Follower Strategy (Long Only)Adjusted for Bitcoin.
Long position only.
10% of your balance each time.
Tight stop loss.
Reasonable profit-loss ratio.
Positive return every year.
No repaint.
Hophop Strategy DemoThis is the demo of hophop strategy that can only be executed for the pairs and timeframes listed below 
"BTCUSD" 
"XBTUSD" 
"ETHUSD" 
"ETHBTC" 
"ETHXBT" 
"XRPUSD" 
"XRPBTC" 
"XRPXBT" 
"10" 
"30" 
"45" 
"60" 
"120" 
"240" 
I have added dynamic trailing stop loss that can be used as a stop loss when trade is not in profit alternatively you can use it as a take profit points if you don't want to close the trade aggressively 
For those who hasnt worked with strategy before 
Blue arrow : Long 
Red arrow: Short 
Purple arrow: Close active trade 
if strategy is on a long trade and active trade is in profit, you can use the red line as stop loss or take profit 
if strategy is on a long trade and active trade is in loss, you can use the red line as stop loss if active trade hasn't closed already 
if strategy is on a short trade and active trade is in profit, you can use the green line as stop loss or take profit 
if strategy is on a short trade and active trade is in loss, you can use the green line as stop loss if active trade hasn't closed already 
In full version active stop loss/take profit is embedded to strategy and they are configurable according to your risk appetite 
Strategy results are for the dates between 01.01.2018 - 01.10.2018 . ( which includes volatile bear market and choppy sideways market )
ETHUSD - Bitfinex - 5 minutes - fastThe same principle of the other ETHUSD script for autoview, with more generic signals.
Safety is because of the Stop Loss (with editable values) that turns the hand in the operation.
There are more operations, however, as you can see, losses can increase.
For those who do not have the patience to wait for the signs of the other.
Backtest properties
. Initial: 10k usd
. Currency: USD
. Pyramiding: 0 
. Order Size: 100% equity
. Comission: 0.25%
>>>>>>>>>>>>>>>>>>>   ADVICE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
This script was created on the BitFINEX chart in 5 minutes.
It is not recommended for use in another pair, another exchange or another timeframe.
[Autoview][BackTest]Dual MA Ribbons R0.12 by JustUncleLThis is an implementation of a strategy based on two MA Ribbons, a Fast Ribbon and a Slow Ribbon. This strategy can be used on Normal candlestick charts or Renko charts (if you are familiar with them).
The strategy revolves around a pair of scripts: One to generate alerts signals for Autoview and one for Backtesting, to tune your settings.
The risk management options are performed within the script to set SL(StopLoss), TP(TargetProfit), TSL(Trailing Stop Loss) and TTP (Trailing Target Profit). The only requirement for Autoview is to Buy and Sell as directed by this script, no complicated syntax is required.
The Dual Ribbons are designed to capture the inferred behavior of traders and investors by using two groups of averages:
> Traders MA Ribbon: Lower MA and Upper MA  (Aqua=Uptrend, Blue=downtrend, Gray=Neutral), with  center line Avg MA (Orange dotted line).
> Investors MAs Ribbon: Lower MA and Upper MA  (Green=Uptrend, Red=downtrend, Gray=Neutral), with center line Avg MA (Fuchsia dotted line).
> Anchor time frame (0=current). This is the time frame that the MAs are  calculated for. This way 60m MA Ribbons can be viewed on a 15 min chart to establish  tighter Stop Loss conditions. 
 Trade Management options: 
 
 Option to specify Backtest start and end time.
 Trailing Stop, with Activate Level (as % of price) and Trailing Stop (as % of price)
 Target Profit Level, (as % of price)
 Stop Loss Level, (as % of price)
 BUY green triangles and SELL dark red triangles
 Trade Order closed colour coded Label:
 >> Dark Red = Stop Loss Hit
 >> Green  = Target Profit Hit
 >> Purple = Trailing Stop Hit
 >> Orange = Opposite (Sell) Order Close
 
 Trade Management Indication: 
 
 Trailing Stop Activate Price = Blue dotted line
 Trailing Stop Price =  Fuschia solid stepping line
 Target Profit Price = Lime '+' line
 Stop Loss Price = Red '+' line
 
 Dealing With Renko Charts: 
 
 If you choose to use Renko charts, make sure you have enabled the "IS This a RENKO Chart" option, (I have not so far found a way to Detect the type of chart that is running).
 If you want non-repainting Renko charts you MUST use TRADITIONAL Renko Bricks. This type of brick is fixed and will not change size.
 Also use Renko bricks with WICKS DISABLED. Wicks are not part of Renko, the whole idea of using Renko bricks is not to see the wick noise.
 Set you chart Time Frame to the lowest possible one that will build enough bricks to give a reasonable history, start at 1min TimeFrame. Renko bricks are not dependent on time, they represent a movement in price. But the chart candlestick data is used to create the bricks, so lower TF gives more accurate Brick creation.
 You want to size your bricks to 2/1000 of the pair price, so for ETHBTC the price is say 0.0805  then your Renko Brick size should be about 2*0.0805/1000 = 0.0002 (round up).
 You may find there is some slippage in value, but this can be accounted for in the Backtest by setting your commission a bit higher, for Binance for example I use 0.2%
 Special thanks goes to @CryptoRox   for providing the initial Risk management Framework in his "How to automate this strategy for free using a chrome extension" example.
HL MovingAvg2Line Cross Dhananjay 
Sharing the simple trend following trading strategy, traders can add their own rules in this, to minimise the losses and maximise the profits. Like below.
1. Go long only if price is above 189 days EMA/SAM
2. Exit position when high or low of previous candle is breached in the opposite direction of the trend. 
3. Go long only if price is in up trend on higher time frame charts and go short when price is down trend of higher time frame charts.  
Stop loss, target and other things can also be decided by the trader. 
Idea is to capture the short term trend to trade in FnO or 2/3 days position in underlying instrument. 
Traders can optimise the length of the Moving average so that your traded is set for maximum profit giving settings for this strategy. Different instruments responds to different moving averages because of different volatility. 
Idea is to go long when price closes above 9 days EMA of Highs and exit and go short whenever price closes below 9 days EMA of lows, exit short when first condition meets after short trade. 
 I ma not that good with scripts, have many such ideas, interested script writers can get in touch with me so that we can create trading systems which have grater success rate . 
 
8ma34 EURUSD 1h 480tp 950slCrossing 8 sma and 34 sma on the 1h chart (close) of EURUSD.
If sma (8) crossing up sma (34) then open a long on closed bar with +480 pips for the take profit and -950 pips for the stop loss.
If sma (8) crossing down sma (34) then open a short on closed bar with -480 pips for the take profit and +950 pips for the stop loss.
Golden Cross, SMA 200 Moving Average Strategy (by ChartArt)This famous moving average strategy is very easy to follow to decide when to buy (go long) and when to take profit.
The strategy goes long when the faster SMA 50 (the simple moving average of the last 50 bars) crosses above the slower SMA 200. Orders are closed when the SMA 50 crosses below the SMA 200. This simple strategy does not have any other stop loss or take profit money management logic. The strategy does not short and goes long only! 
Here is an article explaining the "golden cross" strategy in more detail:
www.stockopedia.com
 On the S&P 500 index (symbol "SPX") this strategy worked on the daily chart 81% since price data is available since 1982. And on the DOW Jones Industrial Average (symbol "DOWI") this strategy worked on the daily chart 55%  since price data is available since 1916.  The low number of trades is in both cases not statistically significant though.
 All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. 
Daily Close Comparison Strategy (by ChartArt via sirolf2009)Comparing daily close prices as a strategy.  
This strategy is equal to the very popular "ANN Strategy" coded by sirolf2009(1) which calculates the percentage difference of the daily close price, but this bar-bone version works completely without his Artificial Neural Network (ANN) part. 
Main difference besides stripping out the ANN is that my version uses close prices instead of OHLC4 prices, because they perform better in backtesting. And the default threshold is set to 0 to keep it simple instead of 0.0014 with a larger step value of 0.001 instead of 0.0001. Just like the ANN strategy this strategy goes long if the close of the current day is larger than the close price of the last day. If the inverse logic is true, the strategy goes short (last close larger current close). (2) 
This basic strategy does not have any stop loss or take profit money management logic. And I repeat, the credit for the fundamental code idea goes to sirolf2009.
(2) Because the multi-time-frame close of the current day is future data, meaning not available in live-trading (also described as repainting), is the reason why this strategy and the original "ANN Strategy" coded by sirolf2009 perform so excellent in backtesting.
 All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. 
(1) You can get the original code by sirolf2009 including the ANN as indicator here:
(1) and this is sirolf2009's very popular strategy version of his ANN:
MACD + Stochastic, Double Strategy (by ChartArt)This strategy combines the classic stochastic strategy to buy when the stochastic is oversold with a classic MACD strategy to buy when the MACD histogram value goes above the zero line. Only difference to the classic stochastic is a default setting of 71 for overbought (classic setting 80) and 29 for oversold (classic setting 20).
Therefore this strategy goes long if the MACD histogram goes above zero and the stochastic indicator detects a oversold condition (value below 29). If the inverse logic is true, the strategy goes short (stochastic overbought condition with a value above 71 and the MACD histogram falling below the zero line value).
Please be aware that this pure double strategy using simply two classic indicators does not have any stop loss or take profit money management logic.
 All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown. 
MA Break Trend Strategy - Multi Stop MethodsThis is a trend-following trading strategy with multiple stop loss options for both long and short positions.
 
 Entry Signal: Trades are triggered when price crosses above (long) or below (short) a configurable moving average (EMA or SMA, default 200-period)
 Volume Confirmation: Optional filter requiring volume to exceed a multiplier (default 1.5x) of the 20-period volume average before entering trades
 Five Stop Loss Methods:
- ATR-based: Dynamic stop using Average True Range multiplier below/above entry price
- MA Buffer: Stop set at a percentage offset from a separate moving average (default 50-period EMA)
- Donchian Channel: Uses the lowest low/highest high over a specified lookback period
- Keltner Channel: ATR-based bands around an EMA basis
- Lowest Low/Highest High: Simple swing point stops based on recent price extremes
- Trailing Stops: All stop methods automatically trail in the profitable direction (upward for longs, downward for shorts) to lock in gains while never moving against the position
 Visual Indicators:
- Plots the trend-following moving average in blue
- Shows active stop loss levels in red when in a position
- Displays reference lines for all stop types when flat
- Entry signals marked with triangles (green up for long, red down for short)
- Background highlighting for volume-confirmed crossovers
VWAP & Band Cross Strategy v6 - AdvancedThese are a few updates made to the original script. The daily take profit and stop loss functions correctly for 1 contract but because of the pyramiding input even if not used you'll need to multiply the values by the number of contracts to keep consistent results. I have been unable to correct that function. Let me know if you test the script and have any recommendations for improvement. If trading an actual account I do recommend setting hard daily limits with your provider because there is still slippage from the original exit alerts even with the daily stop loss in place.
1. Real-Time Execution & Hard PnL Limits (The Focus)
The most critical changes were implemented to ensure the daily profit and loss limits act as hard, real-time barriers instead of waiting for the candle to close.
	• Intrabar Tick Execution: The parameter calc_on_every_tick=true was added to the strategy() declaration. This forces the entire script to re-evaluate its logic on every single price update (tick), enabling immediate action.
	• Real-Time PnL Tracking: The PnL calculation was updated to track the total_daily_pnl by summing the realized profit/loss (from closed trades) and the unrealized profit/loss (strategy.openprofit) on every tick.
	• Immediate Closure: The script now checks the total_daily_pnl against the user-defined limits (daily_take_profit_value, daily_stop_loss_value) and immediately executes strategy.close_all() the moment the threshold is breached, preventing further trading.
	• Combined Risk Enforcement: The user-defined "Max Intraday Risk ($)" and the "Daily Stop Loss (Value)" are compared, and the script enforces the tighter of the two limits.
2. Visibility and External Alerting
To address the unavoidable issue of slippage (which causes price overshoot in fast markets even with tick execution), dedicated alert mechanisms were added.
	• Dedicated Alert Condition: An alertcondition named DAILY PNL LIMIT REACHED was added. This allows you to set up a TradingView alert that triggers the instant the daily_limit_reached variable turns true, giving you the fastest possible notification.
	• Visual Marker: A large red triangle (\u25b2) is plotted on the chart using plotchar at the exact moment the daily limit condition is met, providing a clear visual confirmation of the trigger bar.
3. Strategy Features and Input Flexibility
Several user-requested features were integrated to make the strategy more robust and customizable.
	• Trailing Stop / Breakeven (TSL/BE): A new exit option, Fixed Ticks + TSL, was added, allowing you to set a fixed profit target while also deploying a trailing stop or breakeven level based on points/ticks gained.
	• Multiple Exit Types: The exit strategy was expanded to include logic for several types: Fixed Ticks, ATR-based, Capped ATR-based, VWAP Cross, and Price/Band Crosses.
	• Pyramiding Control: An input Max Pyramiding Entries was introduced to control how many positions the strategy can have open at the same time.
	• Confirmation Logic Toggle: Added an input to choose how multiple confirmation indicators (RSI, SMMA, MACD) are combined: "AND" (all must be true) or "OR" (at least one must be true).
	• Indicator Confirmations: Logic for three external indicators—RSI, SMMA (EMA), and MACD—was fully integrated to act as optional filters for entry.
	• VWAP Reset Anchors: Logic was corrected to properly reset the VWAP calculation based on the selected period ("Daily", "Weekly", or "Session") by using Pine Script v6's required anchor series.
Trading Day Filters: Inputs were added to select which specific days of the week the strategy is allowed to trade. 
BankNifty Etharia Aggresive Buyer / SellerOverview
Professional intraday trading strategy for BankNifty Futures that identifies high-probability setups by combining multiple technical indicators. Works in BOTH directions - LONG and SHORT.
Best Timeframe: 5-Minute Chart
Key Features:
✅ Multi-Confluence Entry System - All indicators must align for signal
✅ Bidirectional Trading - Captures both uptrends and downtrends
✅ Advanced Risk Management - Daily loss limits, consecutive loss protection
✅ Smart Exit System - Partial profit taking + trailing stops
✅ Session-Based Trading - Avoids opening and closing volatility
Entry Logic:
LONG Signals:
Price above Kernel Regression (trend confirmation)
Price above VWAP with positive slope (momentum)
Cumulative Volume Delta bullish (buying pressure)
Volume spike or increasing volume (strength confirmation)
Strong bullish candle with 60%+ body ratio
RSI filter to avoid overbought entries
SHORT Signals:
Price below Kernel Regression (downtrend confirmation)
Price below VWAP with negative slope (bearish momentum)
CVD bearish (selling pressure dominates)
High volume confirmation
Strong bearish candle pattern
RSI filter to avoid oversold entries
Exit Management:
🎯 Target 1: 1.5 R:R (50% position exit)
🎯 Target 2: 2.5 R:R (full exit)
🛡️ Stop Loss Options: ATR-based, Swing-based, or Fixed
🟡 Trailing Stop: Activates after 1.2 R:R, trails at 0.8 R:R
⏰ Time-Based Exit: Closes all positions 5 mins before session end
Risk Controls:
Maximum trades per day (default: 5)
Consecutive loss limit (default: 2)
Daily loss limit: 2.5% of capital
Daily profit target: 5% (stops trading when reached)
Position sizing based on account risk percentage
Recommended Settings:
Asset: BankNifty Futures (NSE:BANKNIFTY1!)
Timeframe: 5-minute
Initial Capital: ₹1,00,000
Risk per trade: 1%
Commission: 0.05%
Slippage: 5 points
Performance Expectations:
Win Rate: 55-65%
Profit Factor: 1.5-2.0
Average Trades/Day: 3-8
Risk:Reward: 1:1.8 average
Customizable Parameters:
Trading direction (Long Only / Short Only / Both)
Indicator lengths and thresholds
Stop loss type and targets
Risk management limits
Trading session hours
Best For:
Intraday traders seeking systematic, rule-based entries with strong confluence, proper risk management, and the ability to profit from both bullish and bearish market conditions.
Larry Williams Oops StrategyThis strategy is a modern take on Larry Williams’ classic Oops setup. It trades intraday while referencing daily bars to detect opening gaps and align entries with the prior day’s direction. Risk is managed with day-based stops, and—unlike the original—all positions are closed at the end of the session (or at the last bar’s close), not at a fixed profit target or the first profitable open.
 Entry Rules 
 
 Long setup (bullish reversion): Today opens below yesterday’s low (down gap) and yesterday’s candle was bearish. Place a buy stop at yesterday’s low + Filter (ticks).
 Short setup (bearish reversion): Today opens above yesterday’s high (up gap) and yesterday’s candle was bullish. Place a sell stop at yesterday’s high − Filter (ticks).
 Longs are only taken on down-gap days; shorts only on up-gap days.
 
 Protective Stop
 
 
 If long, stop loss trails the current day’s low.
 If short, stop loss trails the current day’s high.
 
 Exit Logic 
Positions are force-closed at the end of the session (in the last bar), ensuring no overnight exposure. There is no take-profit; only stop loss or end-of-day flat.
 Notes 
This strategy is designed for intraday charts (minutes/seconds) using daily data for gaps and prior-day direction.
Longs/shorts can be enabled or disabled independently.
Diabolos Long What the strategy tries to do
It looks for RSI dips into oversold, then waits for RSI to recover above a chosen level before placing a limit buy slightly below the current price. If the limit doesn’t fill within a few bars, it cancels it. Once in a trade, it sets a fixed take-profit and stop-loss. It can pyramid up to 3 entries.
Step-by-step
1) Inputs you control
RSI Length (rsiLen), Oversold level (rsiOS), and a re-entry threshold (rsiEntryLevel) you want RSI to reach after oversold.
Entry offset % (entryOffset): how far below the current close to place your limit buy.
Cancel after N bars (cancelAfterBars): if still not filled after this many bars, the limit order is canceled.
Risk & compounding knobs: initialRisk (% of equity for first order), compoundRate (% to artificially grow the equity base after each signal), plus fixed TP% and SL%.
2) RSI logic (arming the setup)
It calculates rsi = ta.rsi(close, rsiLen).
If RSI falls below rsiOS, it sets a flag inOversold := true (this “arms” the next potential long).
A long signal (longCondition) happens only when:
inOversold is true (we were oversold),
RSI comes back above rsiOS,
and RSI is at least rsiEntryLevel.
So: dip into OS → recover above OS and to your threshold → signal fires.
3) Placing the entry order
When longCondition is true:
It computes a limit price: close * (1 - entryOffset/100) (i.e., below the current bar’s close).
It sizes the order as positionRisk / close, where:
positionRisk starts as accountEquity * (initialRisk/100).
accountEquity was set once at script start to strategy.equity.
It places a limit long: strategy.order("Long Entry", strategy.long, qty=..., limit=limitPrice).
It then resets inOversold := false (disarms until RSI goes oversold again).
It remembers the bar index (orderBarIndex := bar_index) so it can cancel later if unfilled.
Important nuance about “compounding” here
After signaling, it does:
compoundedEquity := compoundedEquity * (1 + compoundRate/100)
positionRisk := compoundedEquity * (initialRisk/100)
This means your future order sizes grow by a fixed compound rate every time a signal occurs, regardless of whether previous trades won or lost. It’s not tied to actual PnL; it’s an artificial growth curve. Also, accountEquity was captured only once at start, so it doesn’t automatically track live equity changes.
4) Auto-cancel the limit if it doesn’t fill
On each bar, if bar_index - orderBarIndex >= cancelAfterBars, it does strategy.cancel("Long Entry") and clears orderBarIndex.
If the order already filled, cancel does nothing (there’s nothing pending with that id).
Behavioral consequence: Because you set inOversold := false at signal time (not on fill), if a limit order never fills and later gets canceled, the strategy will not fire a new entry until RSI goes below oversold again to re-arm.
5) Managing the open position
If strategy.position_size > 0, it reads the avg entry price, then sets:
takeProfitPrice = avgEntryPrice * (1 + exitGainPercentage/100)
stopLossPrice = avgEntryPrice * (1 - stopLossPercentage/100)
It places a combined exit:
strategy.exit("TP / SL", from_entry="Long Entry", limit=takeProfitPrice, stop=stopLossPrice)
With pyramiding=3, multiple fills can stack into one net long position. Using the same from_entry id ties the TP/SL to that logical entry group (not per-layer). That’s OK in TradingView (it will manage TP/SL for the position), but you don’t get per-layer TP/SL.
6) Visuals & alerts
It plots a green triangle under the bar when the long signal condition occurs.
It exposes an alert you can hook to: “Покупка при достижении уровня”.
A quick example timeline
RSI drops below rsiOS → inOversold = true (armed).
RSI rises back above rsiOS and reaches rsiEntryLevel → signal.
Strategy places a limit buy a bit below current price.
4a) If price dips to fill within cancelAfterBars, you’re long. TP/SL are set as fixed % from avg entry.
4b) If price doesn’t dip enough, after N bars the limit is canceled. The system won’t re-try until RSI becomes oversold again.
Key quirks to be aware of
Risk sizing isn’t PnL-aware. accountEquity is frozen at start, and compoundedEquity grows on every signal, not on wins. So size doesn’t reflect real equity changes unless you rewrite it to use strategy.equity each time and (optionally) size by stop distance.
Disarm on signal, not on fill. If a limit order goes stale and is canceled, the system won’t try again unless RSI re-enters oversold. That’s intentional but can reduce fills.
Single TP/SL id for pyramiding. Works, but you can’t manage each add-on with different exits.
Quantura - Quantified Price Action StrategyIntroduction 
“Quantura – Quantified Price Action Strategy” is an invite-only Pine Script strategy designed to combine multiple price action concepts into a single trading framework. It integrates supply and demand zones, liquidity sweeps and runs, fair value gaps (FVGs), RSI filters, and EMA trend confirmation. The strategy also provides a visual overlay with dynamic trend-colored candles for easier chart interpretation. It is intended for multi-market use across cryptocurrencies, Forex, equities, and indices.
 Originality & Value 
The strategy is original in how it unifies several institutional-style price action elements and validates trades only when they align. This reduces noise compared to using single indicators in isolation. Its unique value lies in the combination of:
 
 Supply & Demand detection: Dynamic boxes identified through pivots, ATR, and volume sensitivity.
 Liquidity sweeps and runs: Detects when swing highs/lows are broken and retested, distinguishing between liquidity grabs (sweeps) and directional runs.
 RSI filter: Can be set to normal or aggressive, confirming momentum before trades.
 Fair Value Gaps (FVGs): Optional detection and filtering of price inefficiencies.
 EMA filter: Aligns trades with the broader market trend.
 Trend candle visualization: Candles dynamically colored bullish, bearish, or neutral, based on strategy positions.
 
This layered confluence approach ensures that entries are not taken on a single condition but require agreement across several dimensions of market structure, momentum, and order flow.
 Functionality & Indicators 
 
  Supply & Demand Zones: Zones are created when pivots, ATR sensitivity, and volume thresholds overlap.
  Liquidity: Swing highs and lows are tracked, with options for sweep (fakeout/reversal) or run (continuation) detection.
  RSI: Confirms long signals when oversold and shorts when overbought, with configurable aggressiveness.
  FVG filter: Adds validation by requiring price interaction with inefficiency zones.
  EMA filter: Ensures longs are above EMA and shorts below EMA.
  Signals & Visualization: Trade entries are marked on the chart, while candles change color to reflect trade direction and status.
 
 Parameters & Customization 
 
  Supply & Demand: Sensitivity (swing range, volume multiplier, ATR multiplier) and display options.
  Liquidity filter: Mode (Run or Sweep), display, and swing length.
  RSI: Enable/disable, length, and style (normal or aggressive).
  Fair Value Gaps: Sensitivity via ATR factor, optional volume filter, and display toggles.
  EMA: Length, enable/disable, and visualization.
  Risk management: Up to three configurable take-profit levels, stop-loss, break-even logic, and capital-based position sizing.
  Visualization: Custom candle coloring and optional overlay for better clarity.
 
 Default Properties (Strategy Settings) 
 
  Initial Capital: 10,000 USD
  Position Size: 100% of equity per trade (backtest default)
  Commission: 0.1%
  Slippage: 1
  Pyramiding: 0 (only one position at a time)
 
Note: The default of 100% equity per trade is used for testing purposes only and would not be sustainable in real trading. A typical allocation in practice would be between 1–5% of account equity per trade, sometimes up to 10%.
 Backtesting & Performance 
Backtests on XPTUSD over 2.5 years with the default settings produced:
 
  129 trades
  73.64% win rate
  Profit factor: 2.6
  Maximum drawdown: 18.2%
 
These results show how the confluence of supply/demand, liquidity, and RSI filters can produce robust setups. However, past performance does not guarantee future results. While the trade count (129) is sufficient for statistical analysis, results may vary across markets and timeframes.
 Risk Management 
 
  Three configurable take-profit levels with percentage allocation.
  Initial stop-loss based on user-defined percentage.
  Dynamic stop-loss that adjusts with market movement.
  Break-even logic that shifts stops to entry after predefined gains.
  Position sizing based on risk percentage of equity.
 
This framework allows both conservative and aggressive configurations, depending on user preference.
 Limitations & Market Conditions 
 
  Works best in volatile and liquid markets such as crypto, metals, indices, and FX.
  May produce false signals in low-volume or sideways environments.
  Unexpected news or macro events can override technical conditions.
  Default position sizing of 100% equity is highly aggressive and should be reduced before any practical use.
 
 Usage Guide 
 
  Add “Quantura – Quantified Price Action Strategy” to your chart.
  Select Supply & Demand, Liquidity, RSI, EMA, and FVG settings according to your market and timeframe.
  Configure risk management: take-profits, stop-loss, and risk-per-trade percentage.
  Use the Strategy Tester to analyze statistics, equity curve, and performance under different conditions.
  Optimize parameters before applying the strategy to different markets.
 
 Author & Access 
Developed 100% by Quantura. Published as an Invite-Only script. Access is available upon request via the Author’s Instructions field.
 Important 
This description complies with TradingView’s publishing rules. It clarifies originality, explains the underlying logic, discloses default properties, and presents backtest results with realistic disclaimers.
Supertrend Strategy with  ATR TP and SLSupertrend Strategy with  ATR TP and SL
Overview
The Supertrend strategy is a trend-following trading system that utilizes the Average True Range (ATR) to determine the market's volatility and to set dynamic support and resistance levels. This strategy employs the Supertrend indicator to identify entry and exit points for trades, specifically focusing on long and short positions in the market.
Key Components
Inputs
ATR Period: This defines the lookback period for calculating the ATR, which helps in understanding market volatility. The default value is set to 10.
Supertrend Multiplier: This multiplier adjusts the sensitivity of the Supertrend indicator. A value of 3 is used, affecting the upper and lower bands of the Supertrend calculation.
TP (Take Profit) ATR Multiplier: This multiplier is used to calculate the take profit level based on the ATR (default value is 3).
SL (Stop Loss) ATR Multiplier: This multiplier dictates the stop loss distance from the entry point concerning the ATR, set to a value of 1.5.
Number of Bars to Use for Backtest: This setting determines how many bars are analyzed during testing, set to a default of 240.
Trading Mode: Options are provided to choose whether to take only long positions or only short positions.
ATR Calculation
The ATR is computed using a specified period, allowing traders to gauge market volatility effectively. This is crucial for setting appropriate stop loss and take profit levels.
Supertrend Calculation
The Supertrend indicator is calculated using the ATR and the multiplier to derive upper and lower bands. The current market price is compared against these bands to determine the trend direction.
Trade Signals
Buy Signal: Generated when the price closes above the Supertrend line, indicating a potential upward trend.
Sell Signal: Generated when the price closes below the Supertrend line, indicating a potential downward trend.
Entry and Exit Strategies
When a buy signal is triggered, the strategy will enter a long position while setting the take profit and stop loss based on the ATR values.
Conversely, if a sell signal occurs, a short position is opened with respective take profit and stop loss levels.
Alert Conditions
Alerts are set up for both buy and sell signals, allowing users to be notified when trade opportunities arise.
Visualization
The Supertrend line is plotted on the chart, along with take profit and stop loss levels for each trade. Labels indicate entry points to facilitate easy tracking of trades.
Conclusion
This Supertrend strategy is designed to simplify trading decisions by automating the entry and exit points based on well-defined market conditions. By utilizing the ATR for dynamic risk management, traders can adapt their approach according to market volatility. This strategy is suitable for many trading styles and can be backtested to assess its performance across different market conditions.
Usage
To use this strategy, simply apply the script in TradingView and adjust the input parameters based on your trading preferences. The strategy can be modified further to enhance its performance according to specific market scenarios.
SY_Quant_AI_YJ✅ Improved and Compliant Description (for SY_Quant_AI_YJ)
Strategy Name: SY_Quant_AI_YJ
Type: Visual Trend System + MACD Cycle Filter + Smart Alerts
Status: Invite-Only / Visualization & Alerts Only (No order execution)
📌 Overview:
SY_Quant_AI_YJ is a trend-following visual strategy and alert system designed to help traders detect directional bias, time entries with MACD cross logic, and receive structured JSON-format push alerts. It combines Supertrend, EMA/SMA structures, and MACD cycles to build a coherent and actionable trend view, enhanced by visual stop-loss guidance and profit-taking alerts.
🔍 Core Logic:
This script integrates technical components into a multi-step trend confirmation framework:
Supertrend (ATR-based): Serves as the primary trend filter, reducing noise and false breakouts.
EMA-55, SMA-15, SMA-80: Help establish short- to mid-term trend structure.
MACD Cycle Crosses: Configurable for long, medium, or short cycles to adapt to different market phases.
Bar Coloring System: Highlights trend strength (e.g., green for strong bullish, red for bearish), assisting in quick decision-making.
Signal Confirmation: Entry signals (long/short) are confirmed by trend alignment, price structure, and MACD cycle phase.
⚙️ Default Settings:
Supertrend: ATR period 15, multiplier 3.1
MACD Mode: Selectable via dropdown (Long, Medium, Short Cycle)
Stop-Loss Logic: Automatically tied to Supertrend value at entry bar
Signal Filtering: Consecutive same-direction entries are blocked to avoid redundancy
No trading simulation: Entries and exits are visual only; alerts replace real trade execution
📈 Usage:
Long/Short signals are displayed using labelup / labeldown markers (“做多” / “做空”)
JSON-format alerts are triggered for:
✅ Entry zones (including stop-loss and entry range)
✅ Profit-taking when MACD reverses and position is floating in profit
Stop-loss guide lines plotted dynamically during active positions
Suitable for use on 15-minute to 4-hour charts
⚠️ Disclaimer:
This strategy does not simulate or execute trades. It is designed for monitoring and decision support only. All signals are informational and should be used alongside proper risk management and independent analysis. Past visual or alert performance does not guarantee future results.
🔑 Access:
To gain access to this invite-only script, please send a private message or contact us via the designated link. Access is reviewed and granted manually per user request.
Market Open Impulse [LuciTech]Market Open Impulse Strategy  
The Market Open Impulse Strategy is designed to capture significant price movements that occur at market open (2:30 PM UK time). This strategy identifies impulsive candles with high volatility and enters trades based on the direction and strength of the initial market reaction.
How It Works:
The strategy activates exclusively at 2:30 PM UK time during market open sessions. It uses ATR-based volatility filtering to identify impulsive candles that exceed a configurable multiplier (default 1.5x ATR). Long entries are triggered when an impulsive candle closes above its midpoint and above the opening price, while short entries occur when an impulsive candle closes below its midpoint and below the opening price.
Risk management is handled through precise stop loss placement at the opposite extreme of the impulse candle (high for short positions, low for long positions). Take profit levels are calculated using a configurable risk-reward ratio with a default setting of 3:1. Position sizing is automatically calculated based on the percentage risk per trade, and an optional breakeven feature can move the stop loss to the entry price at specified profit levels.
The strategy incorporates time-based filtering to ensure trades only occur during the specified market open window. Visual indicators highlight qualifying impulsive candles and plot all entry and exit levels for clear trade management. The system offers flexible risk management with customizable risk percentage, risk-reward ratios, and breakeven settings, along with multiple stop loss calculation methods including both ATR-based and candle-based options.
Key Parameters:
Market open timing is fully configurable through hour and minute settings for strategy activation. The impulse ATR multiple sets the minimum volatility threshold required for trade qualification, with visual highlighting available for qualifying setups. Risk management parameters include the percentage of account equity to risk per trade, target profit multiples relative to initial risk, and the profit level threshold for breakeven stop loss adjustment. Users can choose between ATR-based or candle-based stop loss calculation methods and adjust technical parameters for volatility calculation including ATR length and smoothing methods.
Applications:
This strategy is particularly effective for trading market open volatility and momentum, capturing institutional order flow during key timing windows, executing short-term swing trades on significant price impulses, and trading markets with predictable opening patterns and consistent volatility characteristics.






















